package org.yoki.tool.core.config;

/**
 * Created by SKY on 2017/6/26.
 */
public class DatabaseConfig {

    private String driver = "com.mysql.jdbc.Driver";
    //    private String url = "jdbc:mysql://127.0.0.1:3306/yokisystem?Unicode=true&characterEncoding=UTF-8";
//    private String user = "root";
//    private String password = "root";
    private String url = "jdbc:mysql://60.255.164.39:3306/db_sdy_dev?Unicode=true&characterEncoding=UTF-8";
    private String user = "root";
    private String password = "YztxDB#2017";

    public DatabaseConfig() {
    }

    public DatabaseConfig(String url, String username, String password) {
        this.url = url;
        this.user = username;
        this.password = password;
    }

    public String getDriver() {
        return driver;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
